
import 'package:injectable/injectable.dart';

@injectable
class HttpApi{

  /// Base Url
  static const String baseUrl = 'https://mp-api-gateway.hqtong.com/';

  ///获取打印机列表
  static const String BaseUrlGbPrinter = 'https://api.poscom.cn/apisc/';
  static const String gbPrinter_device = 'device';
  static const String gbPrinter_sendVoice = 'sendVoice';
  static const String gbPrinter_sendMsg = 'sendMsg';
  static const String gbPrinter_getStatus = 'getStatus';

  ///登录获取token
  static const String login = 'gotone-oauth2-api/mp/login';
  ///获取用户信息
  static const String getUserInfo = 'gotone-oauth2-api/mp/oauth/get_user_info';
  static const String getOilGunConfig = 'gotone-merchant-api/mp/pos/merchant/select_goods';
  static const String getMqttInfo = 'gotone-merchant-api/mp/pos/device/get_info';
  static const String getZeroModel = 'gotone-merchant-api/mp/pos/merchant/config/get_energy_product_config';
  ///获取支付方式
  static const String getPayType = 'gotone-merchant-api/mp/pos/payment_mode/get_list';

  ///查询手机号
  static const String getMember = 'gotone-uc-api/mp/pos/member/get_member_by_condition';

  ///获取优惠
  static const String getDiscount = 'gotone-promotions-api/mp/pos/promotions/promotions_activity/find_by_consume';
  static const String createOrderV1 = 'energy-order-api/mp/pos/order/v1/create';
  //energy-order-api/mp/pos/energy/order/upload
  static const String uploadOrder = 'energy-order-api/mp/pos/energy/order/upload';
  //energy-order-api/mp/pos/order/merchant_work_cycle/current
  static const String getMerchantWorkCycle = 'energy-order-api/mp/pos/order/merchant_work_cycle/current';
  //energy-order-api/mp/pos/energy/order/getStatusByEoIds
  static const String getOrderStatus = 'energy-order-api/mp/pos/energy/order/getStatusByEoIds';
  //energy-order-api/mp/pos/energy/order/give_up_order_ids
  static const String giveUpOrder = 'energy-order-api/mp/pos/energy/order/give_up_order_ids';
  //energy-order-api/mp/pos/energy/order/repair
  static const String repairOrder = 'energy-order-api/mp/pos/energy/order/repair';
  //gotone-merchant-api/mp/pos/merchant/config/get_merchant_preferential_config
  static const String getMerchantPreferentialConfig = 'gotone-merchant-api/mp/pos/merchant/config/get_merchant_preferential_config';
  //gotone-promotions-api/mp/pos/member_coupon/v1/order/select_count
  static const String getMemberCouponCount = 'gotone-promotions-api/mp/pos/member_coupon/v1/order/select_count';
  //gotone-promotions-api/mp/pos/member_coupon/v1/order/select_page_list
  static const String getMemberCouponList = 'gotone-promotions-api/mp/pos/member_coupon/v1/order/select_page_list';

  static const String getGoodsList = 'energy-product-api/mp/sales_channel_goods/page';
  static const String mqttPull = 'gotone-message-api/mp/pos/mqtt_msg/pull';

  static const String users = 'users/simplezhli';
  static const String search = 'search/repositories';
  static const String subscriptions = 'users/simplezhli/subscriptions';
  static const String upload = 'uuc/upload-inco';

  //gotone-merchant-api/mp/merchant_config/get_performance_config
  static const String getPerformanceConfig = 'gotone-merchant-api/mp/merchant_config/get_performance_config';
  //energy-order-api/mp/pos/work_cycle/user/select_list
  static const String getEmployeeSelectList = 'energy-order-api/mp/pos/work_cycle/user/select_list';
  //gotone-oauth2-api/mp/user/select_mch_user
  static const String getEmployeeList = 'gotone-oauth2-api/mp/user/select_mch_user';
  //energy-order-api/mp/pos/work_cycle/user/save
  static const String saveEmployeeSelect = 'energy-order-api/mp/pos/work_cycle/user/save';
  //energy-order-api/mp/pos/energy/order/unpaidList
  static const String getUnpaidOrderList = 'energy-order-api/mp/pos/energy/order/unpaidList';
  //energy-order-api/mp/pos/energy/order/mt_match
  static const String mtMatch = 'energy-order-api/mp/pos/energy/order/mt_match';
  //gotone-merchant-api/mp/pos/merchant/config/get_zero_tube
  static const String getZeroTube = 'gotone-merchant-api/mp/pos/merchant/config/get_zero_tube';
  //gotone-cms-api/mp/qr/sys_make_qr/generate_qr_code
  static const String generateQrCode = 'gotone-cms-api/mp/qr/sys_make_qr/generate_qr_code';
  //energy-order-api/mp/pos/order/v1/orderFinanceInfo/
  static const String pollOrderStatus = 'energy-order-api/mp/pos/order/v1/orderFinanceInfo/';
  //energy-order-api/mp/pos/order/v1/advance_order_statistics_page
  static const String getAdvanceOrderStatisticsPage = 'energy-order-api/mp/pos/order/v1/advance_order_statistics_page';
  //gotone-merchant-api/mp/merchant/device/get_page_list
  static const String getPrinterList = 'gotone-merchant-api/mp/merchant/device/get_page_list';

  //gotone-merchant-api/mp/merchant_config/get_ticket_config
  static const String getTicketConfig = 'gotone-merchant-api/mp/merchant_config/get_ticket_config';
  //energy-order-api/mp/pos/order/print
  static const String printOrder = 'energy-order-api/mp/pos/order/print';
  //energy-order-api/mp/pos/energy/order/unlock/{energyOrderId}
  static const String unlockOrder = 'energy-order-api/mp/pos/energy/order/unlock/energyOrderId';
  //energy-order-api/mp/order/merchant_work_cycle/existUnpaid/{workCycleId}
  static const String existUnpaid = 'energy-order-api/mp/order/merchant_work_cycle/existUnpaid/workCycleId';
  //@GET("energy-order-api/mp/order/merchant_work_cycle/confirmHandoverTime/{workCycleId}")
  static const String confirmHandoverTime = 'energy-order-api/mp/order/merchant_work_cycle/confirmHandoverTime/workCycleId';
  //@POST("energy-order-api/mp/pos/energy/order/verificationVerify")
  static const String verificationVerify = 'energy-order-api/mp/pos/energy/order/verificationVerify';
  ////批量核销Mq
  static const String verificationMq = 'energy-order-api/mp/pos/energy/order/verificationMq';
  //@GET("energy-order-api/mp/order/merchant_work_cycle/print/{workCycleId}")
  static const String printShift = 'energy-order-api/mp/order/merchant_work_cycle/print/workCycleId';
  //@GET("energy-order-api/mp/order/merchant_work_cycle/confirmHandover/{workCycleId}")
  static const String confirmHandover = 'energy-order-api/mp/order/merchant_work_cycle/confirmHandover/workCycleId';
  //@POST("energy-order-api/mp/pos/energy/order/unlockBatch")
  static const String unlockBatch = 'energy-order-api/mp/pos/energy/order/unlockBatch';
  //energy-order-api/mp/pos/order/v1/list
  static const String getOrderList = 'energy-order-api/mp/pos/order/v1/list';
  //gotone-oauth2-api/mp/pos/user/check_operation_password
  static const String checkOperationPassword = 'gotone-oauth2-api/mp/pos/user/check_operation_password';
  //energy-order-api/mp/pos/order/v1/order_refund
  static const String orderRefund = 'energy-order-api/mp/pos/order/v1/order_refund';
  //gotone-account-api/mp/pos/account/individual_account_page
  static const String individualAccountPage = 'gotone-account-api/mp/pos/account/individual_account_page';


}
